<template>
<div class="user-info">
  <div class="icon">
    <img src="~assets/img/profile/avatar.svg" alt="">
  </div>
  <div class="info">
    <div class="login">登录/注册</div>
    <div class="phone">
      <img src="~assets/img/profile/phone.svg" alt="">
      暂无绑定手机号
    </div>
  </div>
  <div class="arrow"></div>
</div>
</template>

<script>
export default {
  name: "UserInfo"
}
</script>

<style scoped>
  .user-info {
    display: flex;
    height: 85px;
    background-color: var(--color-tint);
    align-items: center;
    padding: 0 18px;
  }
  .icon {
    width: 70px;
    height: 70px;
  }
  .icon img {
    width: 100%;
  }

  .info {
    margin-left: 10px;

  }
  .info .login {
    color: #fff;
    font-size: 15px;
  }
  .info .phone {
    margin-top: 5px;
    vertical-align: center;
    color: #fff;
    font-size: 13px;
  }
  .info .phone img{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: -4px;
  }

  .arrow {
    position: relative;
    width: 15px;
    height: 15px;
    margin-left: 110px;
  }
  .arrow::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-right-color: #fff;
    transform: rotate(45deg);

  }
</style>
